#ifndef CHECKINGACCOUNT_H
#define CHECKINGACCOUNT_H

#include "Account.hh"
#include "main.hh"

class CheckingAccount : public Account {
public:
    CheckingAccount(const std::string& id, Customer* holder, double initialBalance = 0.0);

    void deposit(double amount, const std::string& note = "") override;
    void withdraw(double amount, const std::string& note = "") override;
    void transfer(Account* destination, double amount, const std::string& note = "") override;

    void displayAccountInfo() const override;
};

#endif // CHECKINGACCOUNT_H